#import <Foundation/Foundation.h>
#import "SEGMenuListModel.h"

@interface SEGMenulist2Manager : NSObject
#pragma mark - SINGLE----BEGIN----
+(instancetype)sharedManager;//创建单例
+(void)destroyResource;//销毁单例
#pragma mark - SINGLE----END----

#pragma mark - HTTP----BEGIN----
-(void)requestMenulist2WithMenuversion:(NSString *)menuVersion
                               menuSid:(NSString *)menuSid
                               appCode:(NSString *)appCode
                            settingsId:(NSString *)settingsId
                                action:(NSString *)action
                             completed:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))completed;

/**
 * 获取服务器底部Tab菜单数据
 * @author Sam
 * @version 4.6.0
 */
-(void)segRequestMenuListForTabBarCompleted:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))completed;

/**
 * 菜单数据请求回调
 * @author Sam
 * @version 4.6.0
 */
-(NSArray<SEGMenuListModel*>*)segResponseMenuWithAction:(NSString*)action isSuccessed:(BOOL)isSuccessed result:(id)result codeType:(NSString*)codeType errorMessage:(NSString*)errorMessage;
#pragma mark - HTTP----END----

/// 遍历菜单获取网页账单URL
- (id)getWebBillPayURL;

#pragma mark - SOURCE----BEGIN----
@property (nonatomic, strong) NSArray<SEGMenuListModel*> *menuList2;
@property (nonatomic, strong) NSArray<SEGMenuListModel*> *menuListTab;
#pragma mark - SOURCE----END----
@end
